package com.wuwei.aliocr.service;

import com.wuwei.aliocr.domain.Authorization;
import com.wuwei.aliocr.domain.Teacher;

import java.util.ArrayList;
import java.util.List;

public interface AuthorizationService {

    /**
     * 根据授权类型查询拥有相应授权的教员
     * @param authorization
     * @return
     */
    List<Teacher> getByAuthorization(String authorization,String teacher);

    /**
     * 根据传入的模块名称查询到获得该模块授权的教员
     * @param model
     * @return
     */
    List<Teacher> getAuthorizedTeacher(String model);


}
